package com.bage.finance.biz.dto.form;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;


@Data
public class GetBase64CodeForm {

    /**
     * 客户端id
     */

    @ApiModelProperty(value = "客户端id")
    @NotBlank(message = "客户端id不能为空")
    @Pattern(regexp = "^[a-zA-Z0-9_-]{6,32}$", message = "clientId非法")//匹配正则
    //正则表达式表示: 6-32位，只能包含字母、数字、下划线、中划线
    private String clientId;
}
